Function: gnus-string<

gnus-string< is a byte-compiled function defined in gnus-util.el.gz.

Signature

(gnus-string< S1 S2)

Documentation

Return t if first arg string is less than second in lexicographic order.

Case is significant if and only if case-fold-search is nil. Symbols are also allowed; their print names are used instead.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-util.el.gz
(defun gnus-string< (s1 s2)
  "Return t if first arg string is less than second in lexicographic order.
Case is significant if and only if `case-fold-search' is nil.
Symbols are also allowed; their print names are used instead."
  (if case-fold-search
      (string-lessp (downcase (if (symbolp s1) (symbol-name s1) s1))
		    (downcase (if (symbolp s2) (symbol-name s2) s2)))
    (string-lessp s1 s2)))